<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script>
    // var num = 1;
    // while(num<=100 ){
    //     console.log('你好啊');
    //     num++;
    // }
    var i=1;
    while(i<=100){
        console.log('你'+i+'岁了');
        i++;
    }

    var age =prompt('你爱我吗');
    while(age !=='我爱你'){
        age= prompt('你爱我吗');
    }
    alert('我也爱你');
</script>
<body>
    
</body>
</html>